package com.ssd.api.couponAndIntegral;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 内部接口-积分总表接口
 */
@FeignClient(name = "couponIntegral-service", url = "http://localhost:9020/couponIntegral-service/inner/points-record-total")
public interface PointsRecordTotalApi {

    /**
     * 创建用户积分总表
     * @param userId 用户id
     */
    @GetMapping("/{userId}")
    public void createUserPointsRecordTotal(@PathVariable("userId") Long userId);
}
